/*
 * BankCardHolder.java
 * business
 *
 * Created by SunDing on 2017/2/21.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.viewholder;

import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.yidiandao.business.R;
import com.yidiandao.business.ui.widget.listview.ViewHolder;

/** 我的银行卡 */
public class BankCardHolder extends ViewHolder {
    public RelativeLayout mRelayout;
    public ImageView mIvBankLogo;
    public TextView mTvBankName;
    public TextView mTvBankType;
    public TextView mTvBankNumber;
    public ImageView mIvBgImage;

    @Override
    protected void initView(View rootView) {
        mRelayout = (RelativeLayout) rootView.findViewById(R.id.Relayout);
        mIvBankLogo = (ImageView) rootView.findViewById(R.id.iv_bank_logo);
        mTvBankName = (TextView) rootView.findViewById(R.id.tv_bank_name);
        mTvBankType = (TextView) rootView.findViewById(R.id.tv_bank_type);
        mTvBankNumber = (TextView) rootView.findViewById(R.id.tv_bank_number);
        mIvBgImage = (ImageView) rootView.findViewById(R.id.iv_bg_image);

    }

    @Override
    protected int getItemLayoutId() {
        return R.layout.item_bank_card;
    }
}
